#ifndef H_RCGD_PLL_H
#define H_RCGD_PLL_H   

#define PLL_FIRST	0
#define PLL_SECOND	1
#define PLL_THIRD	2
#define PLL_FORTH	3


typedef struct PLL_S{
	char DelayCounter;
	char TURN;
} PLL_;

extern void ResetPLL(void);
extern void EnablePLL(void);
extern void EnablePLL2(void);
extern void SetPLL(char, unsigned short);

extern void Init_PLL(void);
extern void InitPLL_1st(unsigned long ValueN,unsigned long ValueR,unsigned long ValueF );


extern PLL_	PLL;

void Start_PLL(void);

#endif
